package cn.itcast.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix ="sky.text-moderation")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AliTextModerationProperties {
    private String accessKeyId;
    private String accessKeySecret;
    private String regionId;
    private String endpoint;
}
